﻿<%@ Page Language="C#" MasterPageFile="~/Template.master" AutoEventWireup="true" CodeFile="NewSalesPerson.aspx.cs" Inherits="NewSalesPerson" Title="Ghasam | New Sales Person" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <div>
        <div class="title">
            فروشنده جدید
        </div>
        
        <div>
            <hr />
        </div>
        
        <div>
            <table>
              <tr>
                <td>
                    عنوان</td>
                <td>
                    <asp:TextBox ID="txtTitle" runat="server" />    
                    <asp:RequiredFieldValidator ID="rfvName" runat="server" ControlToValidate="txtTitle"
                        ErrorMessage="*"></asp:RequiredFieldValidator></td>
              </tr>
              <tr>
                <td>
                    شماره تلفن
                </td>
                <td>
                    <asp:TextBox ID="txtPhoneNumber" runat="server" />
                    <asp:RequiredFieldValidator ID="rfvPhone" runat="server" ControlToValidate="txtPhoneNumber"
                        ErrorMessage="*"></asp:RequiredFieldValidator></td>
              </tr>
              <tr>
                <td>
                    آدرس
                </td>
                <td>
                    <asp:TextBox ID="txtAddress" runat="server" TextMode="MultiLine" Width="300" Height="60" />
                    <asp:RequiredFieldValidator ID="rfvAddress" runat="server" ControlToValidate="txtAddress"
                        ErrorMessage="*"></asp:RequiredFieldValidator>
                </td>
              </tr>
            </table>
            
            <div style="margin:20px">
                <asp:Button ID="btnSave" Text="ذخیره" runat="server" OnClick="btnSave_Click" />
            </div>
        </div>
   </div>
</asp:Content>

